Integrand size = 20, antiderivative size = 26 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=2 a \sqrt {x}-\frac {2 b \text {arctanh}\left (\cos \left (c+d \sqrt {x}\right )\right )}{d} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {14, 4290, 3855} \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=2 a \sqrt {x}-\frac {2 b \text {arctanh}\left (\cos \left (c+d \sqrt {x}\right )\right )}{d} \]
[In]
[Out]
Rule 14
Rule 3855
Rule 4290
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {a}{\sqrt {x}}+\frac {b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}}\right ) \, dx \\ & = 2 a \sqrt {x}+b \int \frac {\csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx \\ & = 2 a \sqrt {x}+(2 b) \text {Subst}\left (\int \csc (c+d x) \, dx,x,\sqrt {x}\right ) \\ & = 2 a \sqrt {x}-\frac {2 b \text {arctanh}\left (\cos \left (c+d \sqrt {x}\right )\right )}{d} \\ \end{align*}
Time = 0.21 (sec) , antiderivative size = 52, normalized size of antiderivative = 2.00 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=\frac {2 \left (a \left (c+d \sqrt {x}\right )-b \log \left (\cos \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )\right )+b \log \left (\sin \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )\right )\right )}{d} \]
[In]
[Out]
Time = 0.27 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.23
method | result | size |
derivativedivides | \(2 a \sqrt {x}-\frac {2 b \ln \left (\csc \left (c +d \sqrt {x}\right )+\cot \left (c +d \sqrt {x}\right )\right )}{d}\) | \(32\) |
default | \(2 a \sqrt {x}-\frac {2 b \ln \left (\csc \left (c +d \sqrt {x}\right )+\cot \left (c +d \sqrt {x}\right )\right )}{d}\) | \(32\) |
parts | \(2 a \sqrt {x}-\frac {2 b \ln \left (\csc \left (c +d \sqrt {x}\right )+\cot \left (c +d \sqrt {x}\right )\right )}{d}\) | \(32\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.65 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=\frac {2 \, a d \sqrt {x} - b \log \left (\frac {1}{2} \, \cos \left (d \sqrt {x} + c\right ) + \frac {1}{2}\right ) + b \log \left (-\frac {1}{2} \, \cos \left (d \sqrt {x} + c\right ) + \frac {1}{2}\right )}{d} \]
[In]
[Out]
Time = 1.28 (sec) , antiderivative size = 60, normalized size of antiderivative = 2.31 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=2 a \sqrt {x} + 2 b \left (\begin {cases} \frac {\sqrt {x} \left (\cot {\left (c \right )} \csc {\left (c \right )} + \csc ^{2}{\left (c \right )}\right )}{\cot {\left (c \right )} + \csc {\left (c \right )}} & \text {for}\: d = 0 \\- \frac {\log {\left (\cot {\left (c + d \sqrt {x} \right )} + \csc {\left (c + d \sqrt {x} \right )} \right )}}{d} & \text {otherwise} \end {cases}\right ) \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.19 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=2 \, a \sqrt {x} - \frac {2 \, b \log \left (\cot \left (d \sqrt {x} + c\right ) + \csc \left (d \sqrt {x} + c\right )\right )}{d} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.15 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=\frac {2 \, {\left ({\left (d \sqrt {x} + c\right )} a + b \log \left ({\left | \tan \left (\frac {1}{2} \, d \sqrt {x} + \frac {1}{2} \, c\right ) \right |}\right )\right )}}{d} \]
[In]
[Out]
Time = 19.86 (sec) , antiderivative size = 73, normalized size of antiderivative = 2.81 \[ \int \frac {a+b \csc \left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx=2\,a\,\sqrt {x}+\frac {2\,b\,\ln \left (\frac {b\,2{}\mathrm {i}-b\,{\mathrm {e}}^{d\,\sqrt {x}\,1{}\mathrm {i}}\,{\mathrm {e}}^{c\,1{}\mathrm {i}}\,2{}\mathrm {i}}{\sqrt {x}}\right )}{d}-\frac {2\,b\,\ln \left (\frac {b\,2{}\mathrm {i}+b\,{\mathrm {e}}^{d\,\sqrt {x}\,1{}\mathrm {i}}\,{\mathrm {e}}^{c\,1{}\mathrm {i}}\,2{}\mathrm {i}}{\sqrt {x}}\right )}{d} \]
[In]
[Out]